.NET Framework Class Library |
ConcurrentBag<(Of <(T>)>)..::.ICollection..::.SyncRoot Property |
ConcurrentBag<(Of <(T>)>) Class See Also Send Feedback |
Gets an object that can be used to synchronize access to the ICollection. This property is not supported.
Namespace:
System.Collections.Concurrent
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Private ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot |
C# |
---|
Object ICollection.SyncRoot { get; } |
Implements
ICollection..::.SyncRootExceptions
Exception | Condition |
---|---|
System..::.NotSupportedException | The SyncRoot property is not supported. |